import request from '@/utils/request'

// 登录
export function login(data: any) {
  return request({
    url: '/base/login',
    method: 'post',
    data
  })
}

// 登出
export function logout() {
  return request({
    url: '/base/logout',
    method: 'post'
  })
}
